package a03interfacedemo3;

public abstract class Person {
//    Person   姓名，年龄
//    player    学xx
//    coach     教xx
//    pp_player    学乒乓球
//    pp_coach  教乒乓球
//    basketball_player 学篮球
//    basketball_coach     教篮球
//    interface  说英语

    private String name;
    private int age;

    public Person() {

    }

    public Person(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
